package fimuni.pb138.repositar;

import java.util.List;

public class WSDLFile {
	private long id;
	private long version;
	private String name;
	private String fileName;
	private List<WSDLOperation> operations;
	
	
	public String getFileName() {
		return fileName;
	}
	public void setFileName(String fileName) {
		this.fileName = fileName;
	}
	public long getId() {
		return id;
	}
	public void setId(long id) {
		this.id = id;
	}
	public long getVersion() {
		return version;
	}
	public void setVersion(long version) {
		this.version = version;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public List<WSDLOperation> getOperations() {
		return operations;
	}
	public void setOperations(List<WSDLOperation> operations) {
		this.operations = operations;
	}
	@Override
	public int hashCode() {
		final int prime = 31;
		int result = 1;
		result = prime * result + (int) (id ^ (id >>> 32));
		return result;
	}
	@Override
	public boolean equals(Object obj) {
		if (this == obj)
			return true;
		if (obj == null)
			return false;
		if (getClass() != obj.getClass())
			return false;
		WSDLFile other = (WSDLFile) obj;
		if (id != other.id)
			return false;
		return true;
	}

	
	
}
